import {Platform, StyleSheet} from 'react-native';
import px2dp from '../../utils/px2dp';

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
  content: {
    alignItems: 'center',
  },
  banner: {
    height: px2dp(336),
    backgroundColor: '#fff',
  },
  name: {
    fontSize: px2dp(30),
    color: '#333333',
    fontWeight: 'bold',
    marginTop: px2dp(33),
    marginBottom: px2dp(17),
  },
  star: {
    flexDirection: 'row',
    alignItems: 'center',
    marginBottom: px2dp(21),
  },
  icon: {
    width: px2dp(22),
    height: px2dp(22),
    marginRight: px2dp(11),
  },
  desc: {
    fontSize: px2dp(22),
    color: '#999999',
    lineHeight: px2dp(30),
    paddingHorizontal: px2dp(38),
    marginBottom: px2dp(29),
  },
  desc_mark: {
    color: '#333',
  },
  gap: {
    height: px2dp(24),
    backgroundColor: '#f7f7f7',
  },
  course_head: {
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'center',
    height: px2dp(95),
  },
  head_icon: {
    width: px2dp(27),
    height: px2dp(29),
    marginRight: px2dp(9),
  },
  head_title: {
    fontSize: px2dp(26),
    color: '#333',
    fontWeight: 'bold',
  },
  list: {
    width: px2dp(251),
    justifyContent: 'center',
    alignItems: 'center',
    marginLeft: px2dp(24),
  },
  cover: {
    width: px2dp(251),
    height: px2dp(280),
    backgroundColor: '#f7f7f7',
    marginBottom: px2dp(17),
  },
  money: {
    color: '#EB0029',
    fontSize: px2dp(26),
    fontWeight: 'bold',
    marginBottom: px2dp(9),
  },
  info: {
    fontSize: px2dp(18),
    color: '#666',
    lineHeight: px2dp(24),
    paddingHorizontal: px2dp(8),
    marginBottom: px2dp(30),
  },
});

export default styles;
